package com.bsh.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bsh.entity.Dto.ClassChineseScoreSummary;
import com.bsh.entity.Dto.ClassStudentTotalScore;
import com.bsh.entity.Bo.TbClass;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface TbClassMapper extends BaseMapper<TbClass> {
    List<ClassChineseScoreSummary> getChineseScoreSummary(@Param("pageIndex")Integer pageIndex, @Param("pageSize")Integer pageSize);

    List<ClassStudentTotalScore> getStudentTotalScoreByTeacher(String teacherName, @Param("pageIndex")Integer pageIndex, @Param("pageSize")Integer pageSize);

}
